home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / linux-faq / part5 < prev    next >
Encoding:
Text File  |  1993-06-11  |  44.5 KB  |  1,253 lines

  1. Newsgroups: comp.os.linux,comp.os.linux.announce,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!spool.mu.edu!wupost!howland.reston.ans.net!agate!doc.ic.ac.uk!warwick!uknet!mcsun!julienas!geocub!labri.greco-prog.fr!corsini
  3. From: corsini@labri.greco-prog.fr
  4. Subject: Linux Frequently Asked Questions 5/6 [monthly posted]
  5. Message-ID: <PART5_739718152@geocub.greco-prog.fr>
  6. Followup-To: poster
  7. Summary: Linux, a small and free unix-like for 386-AT computers.
  8. Sender: corsini@greco-prog.fr (Marc-Michel CORSINI)
  9. Reply-To: linux@numero6.greco-prog.fr
  10. Organization: Greco Prog. CNRS & LaBRI, Bordeaux France
  11. References: <PART4_739718152@geocub.greco-prog.fr>
  12. Date: Thu, 10 Jun 1993 13:17:01 GMT
  13. Approved: news-answers-request@MIT.Edu
  14. Expires: Sat, 24 Jul 1993 13:15:52 GMT
  15. Lines: 1235
  16. Xref: senator-bedfellow.mit.edu comp.os.linux:45696 comp.os.linux.announce:774 comp.answers:945 news.answers:9276
  17.  
  18. Archive-name: linux-faq/part5
  19.  
  20. Last-Modified: 93/06/11
  21. Version: 1.19
  22.  
  23. *********************************************************
  24. *                            *
  25. *   Answers to Frequently asked questions about Linux   *
  26. *                            *
  27. *********************************************************
  28.  
  29. This post contains Part 5 of the Linux FAQ (6 parts).
  30. It must be read *after* the 4 first parts. 
  31.  
  32. ===================================8<====>8============================
  33. CONTENTS (of this part)
  34.  
  35.     XI.     EMACS for LINUX            (part5)
  36.     XII.    X11, THE MAXIMUM and MORE    (part5)
  37.     XIII.    NETWORKING and LINUX        (part5)
  38.  
  39. ===================================8<====>8============================
  40.  
  41.  
  42. XI. EMACS for LINUX
  43. =====================
  44. *** This section is maintained by Rick Sladkey (jrs@world.std.com)
  45. *** Last Update March 1993.
  46.  
  47.  
  48. XI.A. GENERAL INFORMATION 
  49. XI.B. GNU EMACS for LINUX
  50.  
  51.  
  52. XI.A. GENERAL INFORMATION
  53. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  54.  
  55. This is a short list of Frequently Asked Questions about GNU Emacs
  56. under Linux.  It does not address general questions about Emacs which
  57. are not Linux specific.  For general help about Emacs, 1) learn to use
  58. and read the online documentation, 2) read the real Emacs FAQ found in
  59. emacs/etc/FAQ, and 3) read the newsgroup gnu.emacs.help.
  60.  
  61.                                         Rick Sladkey <jrs@world.std.com>
  62.  
  63.  
  64. XI.B. GNU EMACS for LINUX
  65. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66.   XI.01)  What version of the compiler was used?  Which shared libaries?
  67.  
  68. ANSWER: This describes version of GNU Emacs 18.59 for Linux 0.99.5 and above
  69. compiled with GCC 2.2.3 using the libc.so.4.3 and libX11.so.3.0 shared
  70. libraries.
  71.  
  72.   XI.02)  Which files do I need?
  73.  
  74. ANSWER:
  75. emacs-18.59b.tar.Z        this file, sample default.el and diffs
  76.                 for this version, the eight-bit patch,
  77.                 iso-latin-1.el and eight-bit.el
  78. emacs-etc-18.59b.tar.Z        emacs support programs and misc info
  79. emacs-bin-18.59b.tar.Z        shared emacs binary and its doc file
  80. x11emacs-bin-18.59b.tar.Z    shared x11emacs binary and its doc file
  81.  
  82.   XI.03)  How do I install them?
  83.  
  84. ANSWER: For the latter three files, just cd to /usr and untar them.
  85.  
  86.   XI.04)  What if I want to compile Emacs myself?
  87.  
  88. ANSWER: It is fairly easy (and highly recommended) to compile Emacs
  89. yourself if you have the the disk space.  In this case you only need
  90. the standard Emacs distribution (emacs-18.59.tar.Z from any GNU archive)
  91. and the Linux diffs and support files (emacs-18.59b.tar.Z from a Linux
  92. archive).  The diffs are quite small and mostly amount to a
  93. configuration file.
  94.  
  95.   XI.05)  What about Epoch or Lucid Emacs?  Are these available for Linux?
  96.  
  97. ANSWER: Yes.  Thomas Dunbar has been maintaining Epoch for Linux and
  98. Chipsy Sperber has compiled Lucid Emacs.  Both of these work well
  99. under Linux.  Look in a Linux archive index for where to find them.
  100.  
  101.   XI.06)  Does Linux Emacs support eight-bit input/output?
  102.  
  103. ANSWER: Yes.  It is new with this version.  It uses the so-called
  104. "ctl-arrow" patch.  See the file README.8bit for more information.
  105.  
  106.   XI.07)  How much disk space is required?
  107.  
  108. ANSWER: Anywhere from 1 to 15 Meg.  Emacs works reasonably well with no
  109. support files at all.  With a judicious selection from lisp/*.elc and
  110. etc/*, quite a lot can be done using only 2 Meg.  If you want all of
  111. lisp/*.elc, info/*, and etc/* this will require 4 to 6 Meg.  If you
  112. unpack the whole source you need 8 Meg.  If you collect info files
  113. like rare coins and install a lot of big lisp packages then Emacs may
  114. need its own partition. :-)
  115.  
  116.   XI.08)  Why can't Emacs find its support files anymore?
  117.  
  118. ANSWER: This is because older versions of Emacs were compiled with
  119. "/usr/local/emacs" based paths.  The current version is compiled with
  120. "/usr/emacs" paths.  If you have a previous installation, just "mv
  121. /usr/local/emacs /usr" and you're done.  If you can't bear to part
  122. with the "/usr/local" pathnames because of inertia then do "ln -s
  123. /usr/local/emacs /usr" and you can have them both.
  124.  
  125.   XI.09)  How do I get Emacs to recognize my cursor keys?
  126.  
  127. ANSWER: Simple.  Don't use them. :-)  Seriously, there are as many
  128. ways to do this are there are elisp hackers but the preferred way is
  129. to follow the pattern set by the other terminal definition files in
  130. emacs/lisp/term/*.el.  For just arrow keys you can just copy vt220.el
  131. to console.el and that's it.  For function keys and the others see
  132. the sample default.el included with emacs-18.59b.tar.Z.
  133.  
  134.   XI.10)  What packages are particularly useful under Linux?
  135.  
  136. ANSWER: Because info format is the documentation standard of the GNU
  137. project and just about everything except the kernel comes from FSF,
  138. you will find that Dave Gillespie's enhanced info package is very
  139. useful.  It allows multiple info directories, space bar paging, and
  140. supports compressed info files. Please learn to use info.  Imagine
  141. Unix life without man.
  142.  
  143. Others that I highly recommend are Sebastian Kremer's enhanced
  144. dired directory editor, Dave Gillespie's calc calculator, Masanobu
  145. UMEDA's gnus for usenet news, and Kyle Jone's vm for mail.
  146.  
  147. All can be found in the OSU Emacs archive, ftp.cis.ohio-state.edu,
  148. /pub/gnu/emacs/elisp-archive.  See the real FAQ for more details.
  149.  
  150.   XI.11)  Does Linux Emacs use the shared libraries?
  151.  
  152. ANSWER: Yes.  It works fine with the DLL libraries and should not
  153. require a new binary when the C or X libraries are updated.
  154.  
  155.   XI.12)  Does Linux Emacs support the X Window System?
  156.  
  157. ANSWER: Yes.  However, there are two binaries.  One without X support
  158. (about 485k) and one with X support (about 515k).
  159.  
  160.   XI.13)  Do I need both Emacs if I don't always use X?
  161.  
  162. ANSWER: No. The X11 version works equally well inside or outside of X.
  163. If you get the message "Check your DISPLAY variable" it means that
  164. you have defined DISPLAY in your ~/.profile (or whatever).  You can
  165. fix this by starting Emacs with 'emacs -nw' or by removing the DISPLAY
  166. variable from your ~/.profile and putting it in you ~/.xinitrc.
  167.  
  168.   XI.14)  Why doesn't Emacs use the settings in my
  169. .Xdefaults/.Xresources file? 
  170.  
  171. ANSWER: You are probably using the word "emacs" and your X version of
  172. emacs is called x11emacs.  Either use the word "Emacs" in your resource
  173. file or rename x11emacs to emacs.  See above question on why this
  174. is reasonable.
  175.  
  176.   XI.15)  I read about some menu that is supposed to pop up when I
  177. press some mouse button.  Does this work with Linux Emacs?
  178.  
  179. ANSWER: Yes.  This requires XMenu support to be compiled in.  Former
  180. versions did not support it because it did not work correctly.
  181.  
  182.   XI.16)  Sometimes Emacs crashes with a SIGALRM message.  What's
  183. wrong? 
  184.  
  185. ANSWER: The old answer about upgrading to a newer version of bash
  186. was incorrect.  The problem was in the implementation of sleep(3)
  187. in the old C library.  It is fixed as of libc-4.3.
  188.  
  189.  
  190.  
  191. XII. X11 THE MAXIMUM and MORE
  192. =============================
  193. *** This section is maintained by Krishna Balasubramanian
  194. *** <balasub@cis.ohio-state.edu>. Mail him if you have corrections,
  195. *** additions, etc.
  196. *** Last update:  Thu, 13 May 93 00:35:45 -0400
  197.  
  198.  
  199. XII.A. X386 GENERAL INFORMATION
  200. XII.B. HARDWARE REQUIREMENTS: Supported Video cards, mice.
  201.  
  202. XII.C. LINUX DISTRIBUTION: Files required, Current version.
  203. XII.D. LEARNING/USING X: Pointers to X documentation.
  204.  
  205. XII.E. DEBUGGING STARTUP PROBLEMS: Checklist, Screen restoration, Hanging.
  206. XII.F. XCONFIG: Video mode settings and common errors in Xconfig.
  207.  
  208. XII.G. X-APPLICATIONS: Compiling X programs.
  209. XII.H. ATI: SVGA server for ATI boards.
  210.  
  211. XII.I. BUGS
  212.  
  213.  
  214. The X11 directories on linux systems are:
  215. XLIB = /usr/X386/lib/X11/      (or /usr/lib/X11/) 
  216. XBIN = /usr/X386/bin/          (or /usr/bin/X11/)
  217. XDOC = XLIB/etc/
  218.  
  219. cwxi = the comp.windows.x.i386unix newsgroup
  220. Subscribe to this group if you are an xfree86 user. Post general
  221. questions on xfree86 to cwxi instead of c.o.l. Very few problems
  222. with using xfree86 are Linux specific.
  223.  
  224.  
  225.  
  226. XII.A. X386 GENERAL INFORMATION
  227. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  228.  
  229.  XII.01)  What is the X11 release supported by Linux?
  230.  
  231. ANSWER: It's the X11R5 (xfree86-1.2). 
  232.     There are (currently separate) servers for 8514 and S3 chips.
  233.  
  234. xfree86-1.3 should be available in a few weeks. Major changes are
  235. Improvement of video restoration, expanded support for WD chips
  236. and the inclusion of PEX. You should get newer versions of any
  237. applications that are older than the xfree86-1.2 release.
  238.  
  239.  XII.02)  What is X386/xfree86?
  240.  
  241. ANSWER: X386 is the port of the X11 server to System V/386 that was
  242. done by Thomas Roell (roell@informatik.tu-muenchen.de).  It supports a
  243. wide variety of VGA boards.  X386 1.2 is included in MIT's X11R5
  244. distribution.
  245.  
  246. The Linux X386 port was based on the stock distribution from X11R5,
  247. from MIT and was done by Orest Zborowski (obz@sisd.kodak.com).
  248.  
  249. It has since moved to becoming part of the standard xfree86 distribution.
  250. See the FAQ on cwxi for more information on xfree86.
  251.  
  252.  XII.03)  Where can I get X386 1.2 (X11R5)?
  253.  
  254. ANSWER: The X386 1.2 and xfree86 sources are available at any site that
  255. distributes the X11R5 source (too numerous to list here, but includes
  256. export.lcs.mit.edu)
  257.  
  258.  
  259.  XII.04)  Any tips on compiling X11R5?
  260.  
  261. ANSWER:
  262. -  Dont do it.
  263. -  XFree86 is distributed with a link kit so you can optionally
  264.     include what you like in the server.
  265. -  Join the xfree86 beta team (how to? see cwxi FAQ)
  266. -  Instructions are in the README file in XDOC/ and the cwxi FAQ.
  267.  
  268.  
  269.  
  270. XII.B  HARDWARE REQUIREMENTS:
  271. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  272. Approx: at least 4 megs of ram + swap ...slooooww. 10 Meg disk for X.
  273. Another 6-10 meg of disk for GCC if you want to compile X11 programs.
  274.  
  275.  XII.05)  What VGA boards are supported?
  276.  
  277. ANSWER: 
  278.     et3000, et4000, gvga, pvga1a, wd890c00, tvga8900, ati ver. 5 or 6,
  279.         8514/A. (X386mono supports generic vga's and hercules).
  280.  
  281.     Diamond cards are not supported and will not be supported. If
  282.     you are the unfortunate owner of such a card, you can probably 
  283.     get the server up by booting in specific modes or using dos to 
  284.     set your modes before warm booting into linux or using an 
  285.     external clock setting program. You will have to bear with these 
  286.     irks until you can convince diamond to alter their policy.
  287.  
  288.     Standard x11v1.1 or xfree86 server:
  289.     ET3000         (for ex. GENOA 5300/5400)
  290.         ET4000         (Tricom, STB PWR Graph, Sigma Legend, etc.)
  291.         GVGA         (Genoa 6400)
  292.         PVGA1A         (Paradise VGA Professional) 
  293.         WD90C00     (Paradise VGA 1024)
  294.  
  295.     supported by xfree86:
  296.     TVGA         TRIDENT 8900c, 9000, support is in xfree86    
  297.  
  298.     ATI        See the ATI section below.
  299.  
  300.             Those with 8514 compatible cards may want to get 
  301.             the X8514 server for speed (~2x xstones?).
  302.  
  303.     MONO    Any vga card should be able to use X386mono server. (At least
  304.         640x480 with 800x600 virtual). Use the vga2 section of Xconfig.
  305.         Support for hercules monochrome card (usable as 2nd display).
  306.  
  307. The following servers will usually not handle all the options supported by 
  308. xfree86. Read the documentation that comes with them carefully. They
  309. will be merged with the xfree86 distribution in some time.
  310.  
  311.  
  312. 8514    ATI graphics ULTRA, ATI graphics Vantage 
  313.     Should work with any VESA standard 8514/A register compatible
  314.     card? Courtesy Kevin Martin (martin@cs.unc.edu).
  315.  
  316.     Scott Laird (lair@midway.uchicago.edu) writes: 
  317.     I uploaded a new version of the X8514 X Server to sunsite and 
  318.     tsx-11. It is in /pub/Linux/X11/X-servers/X8514/X8514scale.tar.Z
  319.     on sunsite. It's linked with version 4.2 of the jumptable libraries,
  320.     includes TCP/IP support, support for compressed bitmap fonts, Type 1 
  321.     and Speedo scalable fonts.  There's a README file in the same 
  322.     directory that will answer more questions.
  323.  
  324. XS3    S3 chipset server (Jon Tombs jon@robots.ox.ac.uk)
  325.     Get the FAQ on ftp.robots.ox.ac.uk (pub/linux/S3 check sunsite).
  326.  
  327. Xega    Generic 640x480x16 compatible server (originally for laptops).
  328.     This requires a microsoft mouse at /dev/mouse for now
  329.     and it does not use Xconfig so use environment variables
  330.     to define the font path etc. in .xinitrc:
  331.     export FONT_PATH=/usr/lib/X11/fonts/misc:/usr/lib/X11/fonts75dpi
  332.     Works better with courier fonts so add to .Xresources:  
  333.     *Font: -*-courier-medium-r-*--10* ..or whatever..
  334.     A link kit is available at tsx-11 (you need gcc2.2.2).
  335.     in pub/linux/ALPHA/Xega/X386.ega.T.Z
  336.     (Obselete? Unusable? Anyone?)
  337.  
  338.  
  339. WARNING: Do not try to bring up an Xserver that does not support your 
  340. hardware. There have been cases where damage has resulted from pushing
  341. the monitor (specially fixed frequency monitors) beyond its specs.
  342.  
  343.  
  344.  XII.06)  What Mouses are supported?
  345.  
  346. ANSWER: Serial : Logitech, Microsoft, MouseSystems .... compatibles ...
  347.     Busmouses : Logitech, microsoft, ATI_XL, PS/2 (aux).
  348.  
  349.  
  350.  XII.07)  Does anyone have a working PS/2 mouse? Has anyone gotten the 
  351. "Mini-DIN" mouse on an HP Vectra 486/33T to work? The slight info I've 
  352. been able to find says it's PS/2 compatible. Does anyone have a
  353. working MouseMan on a PS/2 port ?
  354.  
  355. ANSWER: (heeb@watson.ibm.com)
  356. First you need to create an entry in /dev for it:
  357.  
  358. mknod /dev/psaux c 10 1
  359.  
  360. The other steps depend on the version of XFree: for XFree86-1.2
  361. add the following line to your Xconfig (and you are done):
  362.  
  363. PS/2 "/dev/psaux"
  364.  
  365. This works even for 3 button mice (e.g. the MouseMan)!
  366. There is no direct PS/2 mouse support in XFree86-1.1, so to use the
  367. mouse with X you'll have either to upgrade or use the mconv mouse
  368. protocol conversion utility, which can be found on nic.funet.fi, in
  369. /pub/OS/Linux/utils/tools/mconv.c. This program converts the packets
  370. sent by the PS/2 mouse into the corresponding ones from a Microsoft
  371. mouse, so you can fool X telling it you have a Microsoft serial
  372. mouse instead. Instructions for use are included in the source file.
  373. (Johan Myreen jem@cs.hut.fi)
  374.  
  375.  
  376.  XII.08)  I have trouble with my logitech Pilot mouse and X under
  377. Linux, any clue ? 
  378.  
  379. ANSWER: (Thomas Roell?) There are TWO lines of Logitech mice out there.
  380. One is the programmable and uses MouseSystems protocol at startup.
  381. X386 reprogramms them to use another protocol. If you specify
  382. 'Logitech' in the Xconfig, X386 assumes a mouse like C7 or S9 (notC7-M).
  383. The second line is the MicroSoft compatible. Currently all newer
  384. Logitech mice follows this practice, like the MouseMan. In that case
  385. you have to say 'MicroSoft' or 'MouseMan'. 
  386.  
  387. From: jliddle@rs6000.cmp.ilstu.edu (Jean Liddle)
  388. I just purchased a new logitech mouseman, and yes, the new X-Windows
  389. (XFree86 as opposed to X386) requires that you use the "microsoft" mousetype.
  390. However, if you turn Third Button Emulation off, the middle button WILL work.
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397. XII.C. LINUX DISTRIBUTION
  398. ~~~~~~~~~~~~~~~~~~~~~~~~~
  399.  
  400.  XII.09)  What is the current version?
  401.  
  402. ANSWER:    The newest public Linux release is xfree86-1.2. 
  403. It was compiled with gcc-2.3 (jump tables 4.3) and is available 
  404. for example at tsx-11 in pub/linux/packages/X11/XFree86-1.2/.
  405.  
  406.  XII.10)  What Files do I need to download?
  407.  
  408. ANSWER: For xfree86: There is a README file in the distribution directory.
  409. Bring this down first and read it. Then get xbin, xman and xfonts.
  410. You need xprog and xlibman only if you plan to compile X applications.
  411. You need xkit if you want to relink the server.
  412.  
  413. **** You need The shared images libc.so.4 (4.3 or later) and libm.so.4 (4.0) 
  414. in /lib/. All the X11 binaries use these. These are available with the GCC
  415. distribution or any new rootdisk. To compile programs you should
  416. get gcc-2.3 or later and the 4.3 libraries.
  417.  
  418. To get a different server, see the notes in the previous section.
  419.  
  420. X11 directories in the archive sites are:
  421. tsx-11 : pub/linux/packages/X11, pub/linux/usr.bin.X11
  422. sunsite : pub/Linux/X11/ 
  423.  
  424.  
  425.  XII.11)  Where do the X11 files go? What are they?
  426.  
  427. ANSWER: The linux X binary distribution looks something like:
  428.  
  429. /usr/X386/
  430.         lib/
  431.         libX11.a ...     (X libraries needed for compiling stuff).
  432.             X11/
  433.                  config/      (template files for compiling ... xmkmf) 
  434.                    fonts/
  435.                    misc/ , 75dpi/ .... 
  436.                    etc/         (documentation).
  437.         bin/                 (X386, X386mono, xterm, X linked to X386).
  438.         include/X11/         (include files needed for compiling).
  439.                bitmaps/  (icons, bitmaps used by some applications).
  440.         man/
  441.         man1/, man3/, cat1/, cat3/
  442. /lib
  443.     libX??.so.??         (Shared images needed by all X11 binaries).
  444.  
  445.  
  446. Its best you do a tar -tvzf on the distribution you get or find
  447. some means of extracting the distribution file list.
  448. The support files include default/example Xconfig, xinitrc, twmrc
  449. which you could copy to your HOME directory (as Xconfig, .xinitrc
  450. and .twmrc) and edit them to define your hardware and X11 setup.
  451. The directory XLIB/etc/ contains much documentation on how to 
  452. configure video modes.
  453.  
  454. Read the files XDOC/README and XDOC/README.Linux.
  455.  
  456.  
  457.  
  458.  
  459. XII.D.  LEARNING/USING X
  460. ~~~~~~~~~~~~~~~~~~~~~~~~
  461.  
  462.  XII.12)  Where can I find the basic help for learning/using X ?
  463.  
  464. ANSWER: Try man X386; man Xserver; man xterm; man twm; man xinit
  465. on any machine with X11.  The man pages on xterm and twm will reflect
  466. behaviour on Linux systems quite accurately. The others will give you
  467. some bearing though not every option will work.  These man pages are
  468. part of the xfree86 distribution.
  469.     
  470.  
  471.  XII.13)  What docs are available besides man pages?
  472.  
  473. ANSWER: The FAQ in comp.windows.x is extensive and has a bibliography. 
  474. There is also the Xt-FAQ. Both are available from export.lcs.mit.edu in
  475. pub/contrib/. There is a collection of (mit) X11 documents on tsx-11
  476. (pub/linux/doc/xdoc.tar.Z ?) or export (pub/R5-Untarred) if you are 
  477. interested in internals.
  478. Also of interest if you use motif, open-look/xview or interviews:
  479. comp.windows.x.motif, comp.windows.open-look, comp.windows.interviews.
  480.  
  481.  
  482.  XII.14)  How do I start up X?
  483.  
  484. ANSWER: Type 'startx' at the shell prompt. Before doing this you should:
  485. 0) Untar the xfree86 distribution from / (read XDOC/README, XDOC/README.Linux).
  486. 1) copy the file Xconfig.sample from the XLIB/ directory to your 
  487.     HOME directory (/usr/root/Xconfig?) or to XLIB/Xconfig.
  488. 2) Edit Xconfig and set the video data for your card and monitor. 
  489.    Use the clocks appropriate for your card and the modes appropriate 
  490.    for your monitor for those clock values. To determine what values are
  491.    appropriate the Xconfig section below and the files in XDOC/. 
  492. 3) Set the mouse device in Xconfig correctly....Use the busmouse entry
  493.    for Logitech only. For other busmouses use microsoft (try all :-).
  494. 4) Ensure that there is a termcap entry for xterm in /etc/termcap
  495.    (One is available in the subdir /doc/).
  496. 5) Ensure that the X11 binaries are in the path example:
  497.    add the line PATH=${PATH}:/usr/X386/bin to ~/.profile or
  498.    look at bash.ad in /doc/.
  499. WARNING: NONE of the modes (in the Modes line in Xconfig) should use a 
  500. clock your monitor cannot handle.
  501. Now type startx.
  502.  
  503.  
  504.  XII.15)  How do I configure X .. colors, menu, keyboard?
  505.  
  506. ANSWER: makes me ... dizzy ...
  507. server : video, keyboard
  508.     Xconfig : man X386, man Xserver, XDOC/VideoModes.doc
  509.               man X386keybd, man xset, man xmodmap. 
  510.  
  511. resources: global and application preferences.
  512.     XLIB/xinit/.Xresources or ~/.Xresources : man xrdb?
  513.  
  514. twm :   menus, title bars, colors .. look and feel.
  515.     ~/.twmrc or XLIB/twm/system.twmrc : man twm
  516.  
  517. xinit : startup. 
  518.         ~/.xinitrc or XLIB/xinit/xinitrc -- man xinit
  519.  
  520. applications : XLIB/app-defaults/Xxx (also ~/.Xresources)
  521.         man xxx
  522.  
  523. You can start with files from any X11 setup. Backup the files 
  524. you change. See the FAQ on comp.windows.x.
  525.  
  526.  
  527.  XII.16)  [suggested by Thomas Koenig]
  528.     How do I support national keyboards in X11 ?
  529.  
  530. ANSWER: Put a .Xmodmap file into the user's home directory specifying
  531. which keys to use for what; or else replace the
  532. /usr/lib/X11/xinit/.Xmodmap with the national keyboard keys
  533. customized. Do man xmodmap for more details. 
  534. enclosed an excerpt of mine (french keyboard):
  535. keycode   8 =
  536. keycode   9 = Escape
  537. keycode  10 = ampersand 1
  538. keycode  11 = eacute 2 asciitilde
  539. keycode  12 = quotedbl 3 numbersign
  540. keycode  13 = apostrophe 4 braceleft
  541. keycode  14 = parenleft 5 bracketleft
  542. keycode  15 = minus 6 bar
  543. keycode  16 = egrave 7 grave
  544. keycode  17 = underscore 8 backslash
  545. keycode  18 = ccedilla 9 asciicircum
  546. keycode  19 = agrave 0 at
  547. keycode  20 = parenright degree bracketright
  548. keycode  21 = equal plus braceright
  549. keycode  22 = BackSpace
  550. keycode  23 = Tab
  551. keycode  24 = A
  552. ........
  553.  
  554.  
  555.  
  556.  
  557.  
  558. XII.E. DEBUGGING STARTUP PROBLEMS:
  559. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  560.  
  561.  XII.17)  I cannot type in my xterm 
  562.  
  563. ANSWER: /dev/console must have major=4, minor=0
  564.     rm -f /dev/console; ln /dev/console /dev/tty0
  565.  
  566.  
  567.  XII.18)  What are some of the common omissions and errors?
  568.  
  569. ANSWER: (Peter)
  570. 1) Add /usr/X386/bin/ (or /usr/bin/X11) to your path.
  571.  
  572. 2) Add the xterm termcap entry to /etc/termcap.
  573.  
  574. 3) ln -s X386 X in the XBIN directory.
  575.    ln -s X386mono X (if you want to use the mono server).
  576.  
  577. 4) Run X as root first. This avoids some trivial problems.
  578.  
  579. 5) If you change the font path entry .... X386 is finicky about
  580.    the syntax. 
  581.  
  582. 6) Make sure your mouse entry in Xconfig points to a legitimate serial 
  583.    device  (or busmouse)... usually something like:  microsoft "/dev/ttyS1"
  584.    serial devices have major # 4 minor 64,65 ... busmouses are major 10.
  585.    ls -l in /dev will show you the major and minor entries.
  586.  
  587. 7) Need read/write/exec access to /tmp directory 
  588.  
  589. 8) Use startx 2> x.err to log your error messages. If the server sticks 
  590.    and you have to reboot you'll probably loose this stuff... see notes
  591.    on `hanging' below.
  592.  
  593. 9) You must have a free vt (eg. /dev/tty5 with no getty (see /etc/rc)).
  594.  
  595. 10) Delete /tmp/.Xn-lock if recovering from a crash.
  596.  
  597. 11) Note the new probeonly option for the server (man X386):
  598.     startx -- -pn -probeonly 
  599.  
  600. 12) See Xconfig problems and the device list below.
  601.  
  602.  
  603.  
  604.  XII.19)  Why is the server unable to find some of the fonts?
  605.  
  606. ANSWER: First check that the directories listed in the font path exist
  607. and have font files in them. Some of the servers are not set up to use 
  608. compressed fonts. In such cases you have to uncompress the fonts in the
  609. directory and run `mkfontdir .`. Read the man page on mkfontdir.
  610.  
  611.  
  612.  XII.20)  My server "hangs" Why?
  613.  
  614. ANSWER: (Peter) Quite often it isn't a hang. If the server grabs the
  615. screen(and enters graphics mode) and then dies, it may return you to
  616. bash *without* restoring the screen. In other words, just because you
  617. see no output, don't assume it's running/hanging.  The way to test
  618. this is to see if you can use a bash command to spin your disk. eg.:
  619. sync; ls -l /bin.
  620.  
  621. Also - I *suspect* that (at least for me), you can kill the
  622. server if you include the servernum option in the Xconfig (Obselete?)
  623.  
  624. You can kill the server when you want to by typing ctrl-alt-backspace. 
  625. Then a couple of ctrl-C 's in case your stuck in xinit.
  626.  
  627. The two line message
  628.          X386 version .....
  629.          (protocol Version ....
  630. is returned from the X386 programme itself, so if you get
  631. this (or if the screen blanks) X must be starting.
  632.  
  633.  
  634.  XII.21)  When I started X11 I got "Cannot connect to
  635. server" or "process does not exist", any clue ?
  636.  
  637. ANSWER: The cause might be a wrong fontpath variable, mouse device
  638. or video settings in your Xconfig.
  639.  
  640.  
  641.  XII.22)  Why cant I run more than 4 xterms?
  642.       How can I have more than 4 pty's ?
  643.  
  644. ANSWER: set the number in the header include/linux/tty.h and 
  645. recompile the kernel. Also make nodes :
  646.     mknod /dev/ptypxx 4  minor  (where minor = 128 + xx)
  647.     mknod /dev/ttypxx 4  minor  (minor = 192 + xx)
  648.     This is for before linux-0.97pl6.... for later versions
  649.     you only need to make the nodes.
  650.     
  651.  
  652.  
  653.  XII.23)  How does X11 start up?
  654.  
  655. ANSWER: The startup involves the server (XBIN/X), and some
  656. programs like startx and xinit.
  657.  
  658. Typing startx runs the script  XBIN/startx. Look through startx. 
  659. For explanation of the server arguments try man Xserver.
  660. startx does little other than gather arguments and then call xinit.
  661.  
  662. xinit runs the server X (X is linked to X386) and the client programs
  663. specified in ~/.xinitrc. xinit continues to run, and is often the 
  664. source of the error messages you see when you exit. If you get the 
  665. message "giving up", it means X has died (quite probably  it died 
  666. immediately) and xinit has been unable to start clients from the 
  667. xinitrc script. (The scripts must be executable).
  668.  
  669.  
  670.  XII.24)  What devices does X depend on:
  671.  
  672. ANSWER: check your device numbers with ls -l /dev. You should have:
  673.  
  674. 5 0 tty
  675. 4 0 tty0
  676. 4 0 console
  677. 4 1 tty1 (etc)        virtual consoles (vt's) : eg. startx -- vt8
  678. 1 1 mem
  679.  
  680. 4 128 ptyp0         pseudo ttys used by xterm/emacs etc 
  681. 4 129 ptyp1 (etc)    to talk to unix programs.
  682. 4 192 ttyp0
  683. 4 193 ttyp1 (etc)
  684.  
  685. 4 64 ttyS1         one of these is the mouse 
  686. 4 65 ttyS2        or you have a busmouse.
  687. 10 x mouse         busmouse x = 0 => logitech     1 => ps/2 (aux)
  688.             2 => microsoft        3 => ATI_XL.
  689. /tmp/.X11-unix/Xn       n = display number. Socket used by X11 programs to 
  690.             talk to the server. This is created by X386.
  691. /tmp/.Xn-lock          n = display number. Lock file.
  692.  
  693. Note that unix programs dont expect standard names for serial devices 
  694. and mice. So you can give these devices any name as long as you tell 
  695. the server what its called (in Xconfig).
  696.  
  697.  
  698.  
  699. XII.F. Xconfig: Xconfig and Video mode settings.
  700. ~~~~~~~~~~~~~~~
  701.  XII.25)  What do the mode names in Xconfig mean?
  702.  
  703. ANSWER: Mode names like "640x480" are used to match entries in 
  704. the modes line with the modeDB entry which actually defines the mode. 
  705. You can toggle between modes in the modes line  with ctrl-alt-numericplus. 
  706. If you're experimenting with 640x480 you can define 
  707.       modes "640x480a" "641x480b" "642x480c"
  708. with different entries for each under ModeDB so you can toggle between 
  709. these three modes. 
  710.  
  711.  XII.26)  How do I compute the numbers for the video modes?
  712.  
  713. ANSWER: See if there is an entry that matches your chip/monitor in
  714. XDOC/modeDB.txt. Use the clock entries for your chip
  715. and the mode entry for that clock appropriate for your monitor.
  716. If you cant find a mode entry for a particular clock 'needed_clock'
  717. but can find a mode entry (for your monitor) for a nearby clock value
  718. 'found_clock', scale all numbers in the modeDB entry by 
  719. (needed_clock/found_clock). Read XDOC/VideoModes.doc
  720.  
  721.  
  722.  XII.27)  How can I determine the clocks on the video chip?
  723.     Where can I find clock.exe or clock.pas ?
  724.  
  725. ANSWER: The XFREE Team discourages the use  of clocks.exe and wants it
  726. to be removed from all docs, since the new Server is better at
  727. guessing the clocks than clocks.exe.
  728.  
  729. You can get X to tell you what it finds by commenting the clocks entry 
  730. in Xconfig. Use 'startx -- -probeonly 2> x.err' to log the output.
  731. If X starts up this file gets the clocks only after you exit.
  732.  
  733. I strongly advise using the 'modegen' spreadsheets to generate the 
  734. appropriate settings. If I remember correctly you can find them in 
  735. 'pub/linux/packages/SLS/x4' called modegen.taz or something equally 
  736. as obvious ... Good luck. (Andy asb@cs.nott.ac.uk)
  737.  
  738. The clocks entry in Xconfig serves as an index. example: 
  739. clocks 1 2 
  740. ModeDB
  741. 1 640x480 .....
  742. 2 800x600 .....
  743. means the first clock on the chip will be used for the 640x480 mode
  744. and so on. Usually one uses the MHz value for the clock for convenience
  745. instead of 1 2  you probably have 25 28 ... etc.
  746.  
  747.  
  748.  XII.28)  What are the settings used with a trident-8900C?
  749.  
  750. ANSWER: To get X/SLS/Linux working with a trident-8900C :
  751.  
  752. 1) From Frank Houston fh8n@uvacs.cs.Virginia.EDU 
  753. vga256
  754.   Virtual    1024 768
  755.   ViewPort      0 0
  756.   Modes            "1024x768" "800x600" "640x480"
  757. Use the VESA monitor timings from the modeDB in the example Xconfig.
  758. You do not need to specify the chipset or clocks.
  759.  
  760. 2) From: Henk Vandecasteele henkv@cs.kuleuven.ac.be 
  761. TRIDENT TVGA 8900C card with BIOS C2.11, A cheap color monitor AOC (CM-335) 
  762. with a maximum horizontal frequence of 39.5
  763. vga256
  764.   Virtual    1024 1024
  765.   ViewPort      0 0
  766.   Modes        "912x684" "800x600" "640x480" 
  767. # This mode drives my monitor to the limit (VESA timings for the rest).
  768.  "912x684"     45      912  944 1104 1136    684  684  690  712 
  769.  
  770.  
  771.  XII.29)  Oh what, Oh what, Oh what can I do with a trident 8900b?
  772.  
  773. ANSWER: (drew@cs.colorado.edu)
  774. 1.  While the 8900b works with the Xfree 8900c driver, you must 
  775.     specify a chipset line for the 8900c in your Xconfig.
  776.  
  777. 2.  The tridents are miserably slow in a Color mode.  If you don't 
  778.     mind black and white, you should use X386mono.  Not only is it 
  779.     faster, but it requires less video memory, and you'll be able 
  780.     to run a 1k X 1k virtual desktop. Again, you must specify the 
  781.     Chipset line to use the banked mono server for virtual 
  782.     resolutions > ~800x600.
  783.  
  784.  
  785.  XII.30)  What are common problems with Xconfig?
  786.  
  787. ANSWER: If X isn't firing at all, or even if it clears the screen and
  788. crashes (see below) you almost certainly have a fault in Xconfig.
  789.  
  790. 1. Note that the server X interprets Xconfig. (not xinit)
  791.  
  792. 2. test with only one graphics mode included - one you are most sure of.
  793.  
  794. 3. If you make a mistake in the mouse section, you will (I understand)
  795. get an error message, so if you don't get some mouse error, try
  796. elsewhere first. (eg "No such file or directory" indicates you have a
  797. fault in the "/dev/ttyxx" line, or /dev/ttyxx doesn't exist.
  798.  
  799. 4. *NB* X looks in your home directory first to find an Xconfig. make
  800. certain it's using the one you've been working on!
  801.  
  802. 5. you need double quotes (") around your chipset and modes: eg
  803.     chipset "et4000"
  804.     Modes   "640x480" "640x480a" "800x600"
  805.    and around the /dev/ttyxx eg.:
  806.     microsoft "/dev/ttys1"
  807.  
  808. 6. Check your VGA section and modeDB first.
  809.  
  810. 9. ensure ModeDB clock speeds match the VGA section. Comment out any
  811. unused lines in MODEDB.
  812.  
  813. eg  clocks  25 36 00 00 00 00 00 00 
  814.  
  815. then you *must* have (and only have) lines under modeDB corresponding
  816. to speeds 25 and 36. If you have one with (say) 62 uncommented out in
  817. the modeDB section in place of the 36 line, you will cause the server to
  818. die immediately with no error message.
  819.  
  820. 10. videoram must equal the amount of display ram on your chip.
  821.  
  822. 11. The virtual resolution screen must fit in the videoram.
  823.     eg: 512kB => 800x600 (for the 1 byte per pixel color server)
  824.  
  825.  
  826.  XII.31)  What do I use in my Xconfig file to use the bus mouse?
  827. Logitech doesn't work with my Logitech busmouse.
  828.  
  829. ANSWER: (Nathan I. Laredo)
  830. Here are the mouse lines from my Xconfig:
  831.  
  832. BusMouse   "/dev/mouse"
  833.  
  834. You may add a sample rate if you want, but chances are, unless the model
  835. number on your mouse matches mine: PC-93-9MD it probably will cause your
  836. machine to lock up, as I've gotten several reports saying that.
  837. According to the X386 documentation, non-logitech mice do not support
  838. a sample rate.
  839.  
  840.  
  841.  XII.32)  Where can I get Xconfig-files for various hardware?
  842.  
  843. ANSWER: If you have access to e-mail, e-mail  bcr@physics.purdue.edu 
  844. a  message with the  subject: help 
  845. If you do create a new Xconfig file or improve on an old one please mail
  846. it to bcr@physics.purdue.edu to save others from having to duplicate
  847. your work.
  848.  
  849.  
  850.  
  851. XII.G X-APPLICATIONS: Compiling X Programs.
  852. ~~~~~~~~~~~~~~~~~~~~~
  853.  
  854.  XII.33)  Does anyone know where I can find the libobz.a library ?
  855.  
  856. ANSWER: This library contained the socket stuff, when X386 V0.1 was
  857. released. Meanwhile it has found it's way into the kernel, so
  858. remove -lobz from the link step in the Makefile. Any program
  859. asking for libobz needs to be recompiled anyway.
  860.  
  861.  
  862.  XII.34)  I get _setjmp undefined when linking xv from .a files.
  863.  
  864. ANSWER: You are trying to link a program compiled with gcc-2.2.2
  865. and setjmp has changed sice then. Recompile xv from the source
  866. using the latest gcc.
  867.  
  868.  
  869.  XII.35)  How do I compile an X application that has an Imakefile?
  870.  
  871. ANSWER:
  872.     Type xmkmf to generate the Makefile.
  873.     Type make.
  874.  
  875.  
  876.  XII.36)  How do I compile a program that has no Imakefile?
  877.  
  878. ANSWER: Use compiler options generated with programs that do have
  879.     Imakefiles. Look in XLIB/config/ for the linux definitions.
  880.     In particular you need -fwritable-strings.
  881.  
  882.  XII.37)  gcc complains the X libraries are not found or links static.
  883.  
  884. ANSWER: Check out the -nojump -static options of GCC ... read the GCC FAQ.
  885.     You can tell gcc what directories to search with -L. 
  886.  
  887.  
  888.  XII.38)  When using Makefiles generated by xmkmf why do I get many error 
  889.     messages?
  890.  
  891. ANSWER: The old xmkmf under Linux doesn't like # comments in Imakefiles. 
  892. Therefore you must change the #'s to XCOMM. But be careful. Don't change
  893. any pre-compiler directives. (mal11@po.CWRU.Edu  Matthew A. Lewis)
  894.  
  895.  XII.39)  (Ton van Rosmalen wrote):
  896. I recently compiled XFree86 1.2A for Linux and it compiled fine with
  897. gcc-2.3.3 and libc-4.3.3 iff I skipped the make depend.
  898.  
  899. ANSWER: (Rik Faith)
  900. The source for ed.c is available from (Linux binaries are in utilb13.taz)
  901. ftp.cs.unc.edu:/pub/faith/linux/utils/utilb-1.3.src.tar.Z 
  902. This version of ed.c has a 4096 character line limit and will work
  903. correctly when building XFree86 under Linux.
  904.  
  905.  
  906.  XII.40)  What are the  development tools available for X under Linux?
  907.  
  908. ANSWER: Some of the X development packages available on Linux:
  909. (XS = sunsite.unc.edu pub/Linux/X11)
  910. (Contact the people who distribute them in case of problems.)
  911.  
  912. Libraries: 
  913. Xpm, tiff .. are in XS/libs/. If you are compiling a package 
  914. that uses these libraries it is best to pick up the standard DLLs.
  915. hooft@chem.ruu.nl, mitchum.dsouza@mrc-apu.cam.ac.uk
  916. (Some older libraries are in XS/libs/oldlibs).
  917.  
  918. Interviews: SLS package
  919. Shared libraries are not yet available so doc ~1M, idraw ~1.5M, ibuild?
  920.  
  921. KHOROS:
  922. This is the second release of my patches (~15K XS/xapps) to the Khoros 
  923. system for image processing. If you want to compile it, you 
  924. need Khoros 1.0, patchlevel 5 (source distribution) and up to 100MB 
  925. free disk space (including package 0.).  
  926. Wolfram Gloger wmglo@dent.med.uni-muenchen.de Apr 04 1993.
  927.  
  928. MOTIF XS/$$$:-)
  929. Metro Link, Inc. is pleased to announce the availability of OSF/Motif 1.2.2 
  930. for Linux at the introductory price of $199 for a complete runtime and 
  931. development system (shared libs, UIL, source for some demos + 1 Orielly book). 
  932. You can order OSF/Motif 1.2.2 for Linux by calling Metro Link,Inc. at 
  933. (305) 970-7353 (voice) or (305) 970-7351 (fax) or by mailing us at 
  934. sales@metrolink.com.
  935.  
  936. SUIT: XS/devel
  937. Simple User Interface Toolkit. 
  938. Included are shared libs and static libs. Compiled with the SLS kit.
  939. To use these shared libs you need libX11 3.0 and libc 4.3.
  940. Rob Robert-Jan Kooper rob@is.twi.tudelft.nl kooper@dutiws.twi.tudelft.nl
  941.  
  942. tk+tcl: XS/devel
  943. Here is tk3.0 and tcl6.5 sources and libraries. Compiled this with gcc2.3.3
  944. I have also included the wish (X11) binary.  
  945. Mitch mitchum.dsouza@mrc-apu.cam.ac.uk     mitch%markab@mrc-apu.cam.ac.uk 
  946.  
  947. xview: XS/devel
  948. New libxview.a and libolgx.a that correct some problems with the
  949. ones found in SLS (and maybe in the other xview releases, I don't know).
  950. Kenneth Osterberg ??
  951.  
  952.  
  953. XII.H ATI: SVGA server for ATI boards.
  954. ~~~~~~~~~
  955. Last Revised: Mon May 10 15:17:57 1993 by faith@cs.unc.edu
  956.  
  957.  
  958.  XII.41)  What's new?
  959.  
  960. ANSWER:
  961. For XFree86 version 1.2 (and later versions), there are two changes to the
  962. extregPlusXLAndOrMasks table:
  963.  
  964. 1) ER_B0 was changed from 0x28 to 0x31.  (In the Linux world, this was
  965. distributed as a binary patch long ago.)
  966.  
  967. 2) ER_BE was changed from 0x08, but only for cards EARLIER than the
  968. 28800-5.
  969.  
  970. Both of these changes allow more 28800-4 cards to work, although either one
  971. may be sufficient for any one card.  You can find these changes in the
  972. driver by searching for the Feb 3 timestamps.
  973.  
  974.  
  975.  
  976.  XII.42)  What is the ATI SVGA driver?
  977.  
  978. ANSWER:
  979. The ATI SVGA driver is a 256 color driver for the XFree86 server.  The
  980. driver was written for the ATI WONDER series of graphics adapters.  In
  981. general, the following modes are supported for cards with 512kb of memory:
  982.  
  983. 640x480x256
  984. 600x800x256
  985.  
  986. The following modes are supported for cards with 1024kb of memory:
  987.  
  988. 1024x768x256
  989.  
  990.  
  991.  
  992.  XII.43)  What is the ATI SVGA driver *NOT*?
  993.  
  994. ANSWER:
  995. The ATI SVGA driver is *NOT* a black and white (2 bit) driver.  Therefore,
  996. it will *NOT* work with the XFree86 monoserver.
  997.  
  998. The ATI SVGA driver is *NOT* a 16 color driver.  Even though your manual
  999. says that your graphics adapter has a 1024x768x16 mode, the ATI SVGA driver
  1000. will *NOT* use this mode.  If you want to use 1024x768, you *MUST* have 1MB
  1001. of memory on your board and use the 1024x768x256 mode.
  1002.  
  1003. The ATI SVGA driver will *NOT* support more than 8 bits of pixel depth.
  1004. Therefore, even though your manual says that your graphics adapter supports
  1005. modes using more than 256 colors, the ATI SVGA driver will *NOT* use these
  1006. modes.
  1007.  
  1008. The ATI SVGA driver is *NOT* an accelerated driver.  If you have an ATI
  1009. GRAPHICS ULTRA series card, the ATI SVGA driver will *NOT* use the
  1010. accelerated hardware.  It will only use the SVGA hardware.  This will
  1011. probably not be any faster than a VGA WONDER card, unless the card is on a
  1012. local bus (and then, it won't be faster than a VGA WONDER card on a local
  1013. bus, if a card of this type existed).
  1014.  
  1015.  
  1016.  
  1017.  XII.44)  What cards will the driver work with?
  1018.  
  1019. ANSWER:
  1020. This is a difficult question, because there are many different ATI video
  1021. cards, and it is sometimes difficult to tell them apart.  The best way is
  1022. to look on the card itself for the ATI chip numbers.  Here is a partial
  1023. list of ATI VGA WONDER cards.  The MOST IMPORTANT number is the CHIP
  1024. VERSION.
  1025.  
  1026. Adapter version     Dot clock       Chip version
  1027.  
  1028. VGA WONDER V3                       ATI18800        NOT SUPPORTED
  1029. VGA WONDER V4                       ATI18800-1      NOT SUPPORTED
  1030. VGA WONDER V5       ATI18810        ATI18800-1      NOT SUPPORTED
  1031. VGA WONDER + (V6)   ATI18810        ATI28800-2      ? MAY WORK ?
  1032. VGA WONDER (1 MB)   ATI18810        ATI28800-4      SUPPORTED
  1033. VGA WONDER (1 MB)   ATI18810        ATI28800-5      SUPPORTED
  1034. VGA WONDER XL       ATI18810        ATI28800-5      SUPPORTED
  1035.  
  1036. Note that the ATI SVGA driver code has hooks and some support for all of
  1037. the cards listed.  However, with the earlier cards, there are serious
  1038. differences in the programmer's interface.  The only people who have ever
  1039. worked on the code have had 28800-4 and 28800-5 chips, so these chips are
  1040. the only ones that are actually known to work.
  1041.  
  1042. The ATI GRAPHICS ULTRA chips seem to have SVGA support which is equivalent
  1043. to the 28800-4, 28800-5, and 28800-a, although I can find no documentation
  1044. on this in the technical manuals provided by ATI.  The ULTRA PLUS and ULTRA
  1045. PRO boards have been tested to some extent, and seem to work fine, but the
  1046. original ULTRA may have some problems at greater than 640x480 resolution.
  1047.  
  1048.  
  1049.  
  1050.  XII.45)  What should I put in my Xconfig file?
  1051.  
  1052. ANSWER:
  1053. THE MOST IMPORTANT LINE IS THE CLOCKS LINE:
  1054.  
  1055.   Clocks        18 22 25 28 36 44 50 56
  1056.                 30 32 37 39 40 0  75 65
  1057.  
  1058. The first row of clocks is usable on all VGA Wonder cards.  The second row
  1059. is usable only on V5, PLUS, and XL cards (28800-2, 28800-4, and 28800-5).
  1060. However, you should include *BOTH* rows for *ALL* cards.
  1061.  
  1062. The specification is different from the specification used with the ET-4000
  1063. cards.  Programs with claim to detect the clocks usually work only with
  1064. ET-4000 based cards.  No such program exists for the ATI cards, since it
  1065. isn't needed.  THE CLOCKS LINE SHOULD NEVER BE CHANGED.  The order of
  1066. numbers in the clocks line *is* significant.
  1067.  
  1068. The actual frequencies, which can be used to calculate the ModeDB lines,
  1069. are as follows:
  1070.  
  1071. 18 = 18.000
  1072. 22 = 22.450
  1073. 25 = 25.175
  1074. 28 = 28.320
  1075. 36 = 36.000
  1076. 44 = 44.900
  1077. 50 = 50.350
  1078. 56 = 56.640
  1079.  
  1080. 30 = 30.240
  1081. 32 = 32.000
  1082. 37 = 37.500
  1083. 39 = 39.000
  1084. 40 = 40.000
  1085.  0 = 56.640
  1086. 75 = 75.000
  1087. 65 = 65.000
  1088.  
  1089. The Chipset will be automatically detected.  The chipset name for this
  1090. driver is "ati".
  1091.  
  1092. Here is a sample Xconfig (which I use):
  1093.  
  1094. RGBPath        "/usr/lib/X11/rgb"
  1095. FontPath    "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"
  1096.  
  1097. Keyboard
  1098.   AutoRepeat 500 5
  1099.   ServerNumLock
  1100.  
  1101. #Microsoft    "/dev/mouse"
  1102. #MouseSystems    "/dev/mouse"
  1103. #MMSeries    "/dev/mouse"
  1104. #Logitech    "/dev/mouse"
  1105. #MouseMan    "/dev/mouse"
  1106. Busmouse    "/dev/mouse"
  1107. #  BaudRate    1200
  1108.   SampleRate    150
  1109. #  Emulate3Buttons
  1110.  
  1111.  
  1112. vga256
  1113.   ViewPort      0 0
  1114.   #Modes     "1024x768v" "800x600v"
  1115.   Modes            "800x600v"
  1116.   Clocks        18 22 25 28 36 44 50 56
  1117.                 30 32 37 39 40 0  75 65
  1118.   Displaysize   260 184
  1119.  
  1120. ModeDB
  1121.  
  1122. # From NEC MultiSync 3FGx manual (copied by faith@cs.unc.edu)
  1123. # active_area front_porch pulse_width back_porch for horiz and vert
  1124. # VESA 640x480 at 72Hz (37.860kHz)
  1125. # 20.317us 0.762us 1.270us 4.603us; 12.678ms 0.238ms 0.079ms 0.740ms
  1126. # (I couldn't find a good clock rate for this one)
  1127. # VESA 800x600 at 72Hz (48.077kHz)
  1128. # 16.000us 1.120us 2.400us 1.280us; 12.480ms 0.770ms 0.125ms 0.478ms
  1129. "800x600v"   50      800  856  976 1040    600  637  643  693
  1130. # VESA 1024x768 at 60Hz (48.363kHz)
  1131. # 15.754us 0.369us 2.092us 2.462us; 15.880ms 0.062ms 0.124ms 0.600ms
  1132. "1024x768v"  65    1024 1048 1184 1344    768  771  777  806
  1133.  
  1134.  
  1135.  
  1136.  XII.46)  What is the history of the driver?
  1137.  
  1138. ANSWER:
  1139. The complete history of the driver is cloudy.  I have tried to reconstruct
  1140. the history from several email messages from a few of the people involved.
  1141. The history is probably incomplete and inaccurate.
  1142.  
  1143. Apparently, Per Lindqvist (pgd@compuram.bbt.se) first got an ATI driver
  1144. working with an early ATI card under X386 1.1a.  (This original driver may
  1145. have actually been based on an non-functional ATI driver written by Roell.)
  1146. Then Doug Evans (dje@cygnus.com) ported the driver to the ATI XL, trying in
  1147. the process to make the driver work with all other ATI cards.
  1148.  
  1149. I (Rik Faith) obtained the X11R4 driver from Doug Evans in the summer of
  1150. 1992, and ported the code to the X386 part of X11R5.  This subsequently
  1151. became part of XFree86.  Per and Doug did the majority of work, making the
  1152. port somewhat trivial.  I am grateful for their contribution.
  1153.  
  1154. The port to X11R5 required writing the ATIProbe and ATIEnterLeave routines,
  1155. and re-organizing the ATISave and ATIRestore routines.  Someone else added
  1156. the operating system specific code, but I don't know who.
  1157.  
  1158. The major reference that I used was manual from ATI:
  1159.  
  1160. "VGA WONDER Programmer's Reference"
  1161. ATI Technologies, 1991.
  1162. Release 1.2 -- Reference #PRG28800
  1163. (Part No. 10709B0412)
  1164.  
  1165. However, Chapter 11 (ATI 18800 ATI VGAWONDER) of George Sutty and Steve
  1166. Blair's "Advanced Programmer's Guide to SuperVGAs" (Brady/Simon & Schuster,
  1167. 1990) was also useful.  Further, someone e-mailed be a random document from
  1168. the ATI BBS which was dated 3Jul91 and which may have been named
  1169. PROGINFO.DOC.
  1170.  
  1171.  
  1172.  
  1173.  XII.47)  What is the future of the driver?
  1174.  
  1175. ANSWER:
  1176. I no longer use an ATI Wonder card and have no interest in this driver.
  1177. Since I have received no bug reports or patches for the driver during the
  1178. past 3 months, I think it is about as stable as it is going to get.  (I
  1179. suspect that support for the 28800-2, 28800-4, and 28800-5 chips can be
  1180. made more robust, but I doubt that the other chips will ever be fully
  1181. supported.)
  1182.  
  1183. I have absolutely *NO* intention of porting the code to the mono or 16
  1184. color servers.  If *you* want ATI support in the mono or 16 color servers,
  1185. they *you* should do the port.  (Since I no longer use my ATI Wonder card,
  1186. please feel free to take over the current driver as well.)
  1187.  
  1188.  
  1189.  
  1190.  
  1191. XII.I BUGS:
  1192. ~~~~~~~~~~~
  1193.  
  1194. Restoration of the text screen fails on some hardware. You can
  1195. get the program runx from the vgalib distribution (tsx-11
  1196. pub/linux/sources/libs/). Report the problem to the xfree86 team.
  1197.  
  1198. Cant compile Xaw programs without -static in versions x11v1.1 or older.
  1199.  
  1200. Fix for missing numlock control in xfree86-1.1.
  1201. use xmodmap to change the mapping:
  1202.   clear mod1
  1203.   add mod1 = Alt_L
  1204.   keysym Alt_R = Mode_switch
  1205.   add mod5 = Mode_switch
  1206. David (Dawes)
  1207.  
  1208.  
  1209.  
  1210. Sources for X11_FAQ: 
  1211. Steve Kotsopoulos, Peter Hawkins, John Morris, MM. Corsini, 
  1212. K. Balasubramanian. 
  1213. Direct comments, questions, complaints to krishna at:
  1214. balasub@cis.ohio-state.edu
  1215.  
  1216.  
  1217.  
  1218. XIII.    NETWORKING and LINUX
  1219. ============================
  1220. *** This section should be maintained by Philip Copeland
  1221. *** (p_copela@csd.uwe.ac.uk). 
  1222.  
  1223.  
  1224. XIII.01)  Where can I find useful information about networking for
  1225. Linux ?
  1226.  
  1227. ANSWER: Join the NET channel of the mailing list. Also, you need to
  1228. read the NET-FAQ by Phil Copeland, it's on sunsite and tsx-11 and
  1229. posted to c.o.l and the NET channel every couple of weeks.
  1230.  
  1231. Basically, all of the information on networking and TCP/IP for Linux
  1232. is in the NET-FAQ, because it's maintained seperately than this
  1233. document (and we don't want to waste the space reprinting it all
  1234. here--- it's big!).
  1235.  
  1236. The NET-FAQ has been completely rewritten as of Feb 1993. Get the new
  1237. version. 
  1238.  
  1239.  
  1240.        ===================8<==========>8================
  1241.  
  1242.  
  1243. -- 
  1244. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1245. #    LaBRI              |                        #
  1246. #  351 cours de la Liberation    |  e-mail:  corsini@geocub.greco-prog.fr   #
  1247. #  33405 Talence Cedex         |  e-mail:  corsini@labri.u-bordeaux.fr    #
  1248. #                   |                        #
  1249. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1250. -- 
  1251.      There will be a sig when our local net is reliable.
  1252.            For now, I would rather stay anonymous.
  1253.